import { Loading } from 'quasar'

export default {
  projectType: {items: []},
  parent: {items: []},
  status: {items: []},
  owner: {items: []},
  env: {items: []},
  detection: {items: []},
  build_param: {items: []},
  pub_version: {items: []},
  javaopt: {items: []},
  pubcmd: {items: []},
  publish_type: {items: []},
  dockeropt: {items: []},
  dockercmd: {items: []},
  relative_conf_path: '',
  absolute_conf_path: '',
  fields: {file_replace: false, host: [], service: [], javaopt: null, pubcmd: null, docker_opt: null, docker_cmd: null},
  loading: Loading,
  msg: {
    name: '',
    name_en: ''
  },
  selectedHost: [],
  selectedService: [],
  showBuildParam: true,
  showVMSelect: true,
  showDockerSelect: true,
  showPath: true,
  serviceModal: false,
  pgn: { rowsPerPage: 10, page: 1 },
  search: '',
  serviceData: [],
  serviceColumns: [
    { name: 'label', label: '服务名', field: 'label' }
  ],
  loadHostSelect: false,
  hostModal: false,
  hostData: [],
  hostColumns: [
    { name: 'label', label: '主机名', field: 'label' }
  ],
  rowsPerPageOptions: [10, 60, 120, 10000],
  loadServiceSelect: false
}
